package com.max.back.demo.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class DrugTypeDeleteForm {
    @NotNull(message = "删除项不能为NULL")
    @Size(min = 1,message = "未选择任何删除项")
    private List<String> ids;
}
